package com.xyy.saas.payment.cores.vo;

import com.xyy.saas.payment.cores.enums.ChannelEnum;

import java.io.Serializable;
import java.util.List;

/**
 * @author wangtianqi
 * @date 2020/4/13 18:10
 */
public class SettlementVo implements Serializable {

    private static final long serialVersionUID = -8989558364987489521L;
    /**
     * 支付平台交易单ID 列表
     */
    private List<PayOrderVo> payNos;
    /**
     * 订单结算时间 比如 20200101 ，精确到天 ,最远不能超过两个月
     */
    private Integer dayTime;

    /**
     * 订单结算商家ID
     */
    private String businessUserId;

    /**
     * 商家类型
     */
    private String businessIdType;

    /**
     * 业务单号
     */
    private String businessSettleOrderNo;

    /**
     * 本次结算的商家总金额（用于金额校验）
     */
    private int totalUserAmount;

    /**
     * 本次结算的佣金总金额（用于金额校验）
     */
    private int totalCommission;

    public List<PayOrderVo> getPayNos() {
        return payNos;
    }

    public void setPayNos(List<PayOrderVo> payNos) {
        this.payNos = payNos;
    }

    public Integer getDayTime() {
        return dayTime;
    }

    public void setDayTime(Integer dayTime) {
        this.dayTime = dayTime;
    }

    public String getBusinessUserId() {
        return businessUserId;
    }

    public void setBusinessUserId(String businessUserId) {
        this.businessUserId = businessUserId;
    }

    public String getBusinessIdType() {
        return businessIdType;
    }

    public void setBusinessIdType(String businessIdType) {
        this.businessIdType = businessIdType;
    }

    public String getBusinessSettleOrderNo() {
        return businessSettleOrderNo;
    }

    public void setBusinessSettleOrderNo(String businessSettleOrderNo) {
        this.businessSettleOrderNo = businessSettleOrderNo;
    }

    public int getTotalUserAmount() {
        return totalUserAmount;
    }

    public void setTotalUserAmount(int totalUserAmount) {
        this.totalUserAmount = totalUserAmount;
    }

    public int getTotalCommission() {
        return totalCommission;
    }

    public void setTotalCommission(int totalCommission) {
        this.totalCommission = totalCommission;
    }

    @Override
    public String toString() {
        return "SettlementVo{" +
                "payNos=" + payNos +
                ", dayTime=" + dayTime +
                ", businessUserId='" + businessUserId + '\'' +
                ", businessIdType='" + businessIdType + '\'' +
                ", businessSettleOrderNo='" + businessSettleOrderNo + '\'' +
                ", totalUserAmount=" + totalUserAmount +
                ", totalCommission=" + totalCommission +
                '}';
    }
}
